package com.ruoyi.web.wx.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 回收垃圾表 trash
 * 
 * @author ruoyi
 * @date 2019-08-27
 */
public class Trash extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 垃圾名称 */
	private String name;
	/** 垃圾类型id */
	private String typeId;
	private List<TrashType> typeList;

	/** 清单垃圾类型id */
	private String trashDetailedId;
	/** 单位类型 1代表KG， 2 代表 个 */
	private String unitType;
	/** (1可用 0删除) */
	private String status;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setTypeId(String typeId) 
	{
		this.typeId = typeId;
	}

	public String getTypeId() 
	{
		return typeId;
	}
	public void setUnitType(String unitType) 
	{
		this.unitType = unitType;
	}

	public String getUnitType() 
	{
		return unitType;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}

	public String getTrashDetailedId() {
		return trashDetailedId;
	}

	public List<TrashType> getTypeList() {
		return typeList;
	}

	public void setTypeList(List<TrashType> typeList) {
		this.typeList = typeList;
	}

	@Override
	public String toString() {
		return "Trash{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", typeId='" + typeId + '\'' +
				", trashDetailedId='" + trashDetailedId + '\'' +
				", unitType='" + unitType + '\'' +
				", status='" + status + '\'' +
				'}';
	}

	public void setTrashDetailedId(String trashDetailedId) {
		this.trashDetailedId = trashDetailedId;
	}

}
